﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/themes/base/jquery-ui.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui.min.js")" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            adjustMidColWidth();

            $(window).resize(function () {
                adjustMidColWidth();
            });
        });

        function adjustMidColWidth() {
            $("div.master-wrapper-center").width($(window).width() - 410);
            $("master-wrapper-cph").width($(window).width() - 435);
        }
    </script>
</head>
<body>
    <div class="master-wrapper-page">
        <div class="master-wrapper-content">
            <div class="header">
                <div class="header-logo">
                    <a class="logo">&nbsp; </a>
                </div>
                @Html.Partial("_LogOnPartial")
            </div>
            <div class="headermenu">
                <ul id="menu">
                    <li>@Html.ActionLink("Home", "Index", "Home")</li>
                    <li>@Html.ActionLink("Admin", "Index", "Admin")</li>
                    <li>@Html.ActionLink("Purchasing", "Index", "Purchasing")</li>
                    <li>@Html.ActionLink("About", "About", "Home")</li>
                </ul>
            </div>
            <div class="master-wrapper-center">
                <div class="master-wrapper-cph">
                    @RenderBody()
                </div>
            </div>
        </div>
        <div class="footer">
            <div class="footer-disclaimer">
                built with <a href="http://asp.net/mvc">ASP.NET MVC 3</a></div>
        </div>
    </div>
</body>
</html>
